package com.imeth.cms.service;

import com.imeth.base.model.Paging;
import com.imeth.cms.Category;

import java.util.List;

/**
 * Created by peter on 12/24/2015.
 */
public interface CategoryService {

    int save(Category category);

    int update(Category category);

    Category getById(Integer id);

    List<Category> query(Paging paging);

    int batchDelete(List<Integer> ids);
}
